Namespace - LJCNetCommon
Parameters
text - The text value.
Returns
True if a data value, otherwise false.
Syntax
C# |
public Boolean IsDataValue(String text)
|
Check if the text is a Data value. (E)
Example
C# |
using LJCNetCommon;
var tokenizer = new CodeTokenizer();
string text = " string text = \"DataValue\"";
tokenizer.SetTokens(text);
short tokenIndex = 3;
string token = tokenizer.GetToken(tokenIndex);
int prefixCount = 0;
string stripToken = tokenizer.StripQualifier(token, ref prefixCount);
bool isDataValue = tokenizer.IsDataType(stripToken);
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.